package model;

public class Folder {
	String name = new String();// 目录名
	int canRead;// 是否可读
	int canWrite;// 是否可写
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCanRead() {
		return canRead;
	}
	public void setCanRead(int canRead) {
		this.canRead = canRead;
	}
	public int getCanWrite() {
		return canWrite;
	}
	public void setCanWrite(int canWrite) {
		this.canWrite = canWrite;
	}
	public Folder getNextFolder() {
		return nextFolder;
	}
	public void setNextFolder(Folder nextFolder) {
		this.nextFolder = nextFolder;
	}
	public Folder getFrontFolder() {
		return frontFolder;
	}
	public void setFrontFolder(Folder frontFolder) {
		this.frontFolder = frontFolder;
	}
	public Folder getParentFolder() {
		return parentFolder;
	}
	public void setParentFolder(Folder parentFolder) {
		this.parentFolder = parentFolder;
	}
	public Folder getFirstChildFolder() {
		return firstChildFolder;
	}
	public void setFirstChildFolder(Folder firstChildFolder) {
		this.firstChildFolder = firstChildFolder;
	}
	public Fileos getFirstChildFile() {
		return firstChildFile;
	}
	public void setFirstChildFile(Fileos firstChildFile) {
		this.firstChildFile = firstChildFile;
	}
	Folder nextFolder;// 同级下一目录
	Folder frontFolder;// 同级上一目录
	Folder parentFolder;// 父目录
	Folder firstChildFolder;// 子目录
	Fileos firstChildFile;// 子文件
}
